enum dtype_trust_manage {
	TYPE(TRUST_MANAGE)=0x1020
};
enum subtype_trust_manage {
	SUBTYPE(TRUST_MANAGE,NODE_STATE)=0x1,
	SUBTYPE(TRUST_MANAGE,KEY_STATE),
	SUBTYPE(TRUST_MANAGE,SECURE_STATE),
	SUBTYPE(TRUST_MANAGE,POLICY_STATE),
	SUBTYPE(TRUST_MANAGE,APP_STATE)
};
enum FLAG_DEFINE(FLAG_TRUST_TCM_KEY){
	FLAG(FLAG_TRUST_TCM_KEY,TRUST_AUTHKEY)=0x1,
	FLAG(FLAG_TRUST_TCM_KEY,TRUST_BINDKEY),
	FLAG(FLAG_TRUST_TCM_KEY,TRUST_UNBINDKEY)=0x4,
	FLAG(FLAG_TRUST_TCM_KEY,TRUST_SIGNKEY)=0x8,
	FLAG(FLAG_TRUST_TCM_KEY,TRUST_VERIFYKEY)=0x10
};
typedef struct trust_manage_key_state{
	char * proc_name;
	BYTE machine_uuid[32];
	char * user_name;
	UINT32 key_state;
}__attribute__((packed)) RECORD(TRUST_MANAGE,KEY_STATE);
